package com.x.wx.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.util.Date;

/**
 * Created by Administrator on 2018/3/6.
 */

@MappingTable(tableName = "WX_ACCOUNT")
public class WxAccount extends BaseObject {

	@MappingColumn(columnName = "WX_ACCOUNT_ID", columnPk = true, columnLength = 32)
	private String wxAccountId;

	@MappingColumn(columnName = "MARKET_ID")
	private String marketId;// 市场ID

	@MappingColumn(columnName = "MARKET_NAME")
	private String marketName;// 市场ID

	@MappingColumn(columnName = "MARKET_SHORT_NAME")
	private String marketShortName;// 市场ID

	@MappingColumn(columnName = "WX_LOGO")
	private String wxLogo;// 微信LOGO

	@MappingColumn(columnName = "WX_QR_CODE")
	private String wxQrCode;// 微信二维码

	@MappingColumn(columnName = "WX_APP_ID")
	private String wxAppId;// APPID

	@MappingColumn(columnName = "WX_APP_SECRET")
	private String wxAppSecret;// APP密码

	@MappingColumn(columnName = "WX_TOKEN")
	private String wxToken; // 微信token

	@MappingColumn(columnName = "WX_ENCRYPT_MESSAGE")
	private Boolean wxEncryptMessage;// 是否对消息进行加密，是否对消息进行加密，false支持明文模式及兼容模式，true支持安全模式及兼容模式'

	@MappingColumn(columnName = "WX_ENCODING_AES_KEY")
	private String wxEncodingAesKey;// 消息加密密钥

	@MappingColumn(columnName = "WX_ACCOUNT_STATE")
	private Integer wxAccountState;// 公众号状态（1：有效、2：无效）

	@MappingColumn(columnName = "CREATE_TIME")
	private Date createTime;// 创建时间

	@MappingColumn(columnName = "UPDATE_TIME")
	private Date updateTime;// 修改时间

	public String getWxAccountId() {
		return wxAccountId;
	}

	public void setWxAccountId(String wxAccountId) {
		this.wxAccountId = wxAccountId;
	}

	public String getMarketId() {
		return marketId;
	}

	public void setMarketId(String marketId) {
		this.marketId = marketId;
	}

	public String getMarketName() {
		return marketName;
	}

	public void setMarketName(String marketName) {
		this.marketName = marketName;
	}

	public String getMarketShortName() {
		return marketShortName;
	}

	public void setMarketShortName(String marketShortName) {
		this.marketShortName = marketShortName;
	}

	public String getWxLogo() {
		return wxLogo;
	}

	public void setWxLogo(String wxLogo) {
		this.wxLogo = wxLogo;
	}

	public String getWxQrCode() {
		return wxQrCode;
	}

	public void setWxQrCode(String wxQrCode) {
		this.wxQrCode = wxQrCode;
	}

	public String getWxAppId() {
		return wxAppId;
	}

	public void setWxAppId(String wxAppId) {
		this.wxAppId = wxAppId;
	}

	public String getWxAppSecret() {
		return wxAppSecret;
	}

	public void setWxAppSecret(String wxAppSecret) {
		this.wxAppSecret = wxAppSecret;
	}

	public String getWxToken() {
		return wxToken;
	}

	public void setWxToken(String wxToken) {
		this.wxToken = wxToken;
	}

	public Boolean getWxEncryptMessage() {
		return wxEncryptMessage;
	}

	public void setWxEncryptMessage(Boolean wxEncryptMessage) {
		this.wxEncryptMessage = wxEncryptMessage;
	}

	public String getWxEncodingAesKey() {
		return wxEncodingAesKey;
	}

	public void setWxEncodingAesKey(String wxEncodingAesKey) {
		this.wxEncodingAesKey = wxEncodingAesKey;
	}

	public Integer getWxAccountState() {
		return wxAccountState;
	}

	public void setWxAccountState(Integer wxAccountState) {
		this.wxAccountState = wxAccountState;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
